<admintpl file="header_adminlte" />
</head>

<body>

	<div class="row">
		<div class="col-xs-12">
			
			<ul class="nav nav-tabs" style="margin-bottom:10px;">
				<li class="active">
					<a href="{:U('AdminReportcate/index')}">分类列表</a>
				</li>
				<li>
					<a href="{:U('AdminReportcate/add')}">新增分类</a>
				</li>
			</ul>

			<div class="box-body table-responsive no-padding">
				<form class="js-ajax-form" method="post">

					<table class="table table-hover table-bordered table-list">
						<thead>
							<tr>
								<th width="100">排序</th>
								<th width="100">分类ID</th>
								<th>分类名称</th>
								<th>操作</th>
							</tr>
						</thead>

						<tbody>
							<volist name="list" id="item">
								<tr>
									<td><input type="text" name="orderby[{$item['cate_id']}]" class="input input-order" size="3" value="{$item['orderby']}"></td>
									<td>{$item['cate_id']}</td>
									<td>{$item['cate_name']}</td>
									<td>
										<div class="btn-group">
											<a href="{:U('AdminReportcate/edit','cate_id='.$item['cate_id'])}" class="btn btn-info"><i class="fa fa-pencil"></i> 编辑</a>
											<a href="{:U('AdminReportcate/delete','cate_id='.$item['cate_id'])}" class="btn btn-danger js-ajax-delete "><i class="fa fa-trash"></i> 删除</a>
										</div>
									</td>
								</tr>
							</volist>

						</tbody>

					</table>

					<div class="table-actions">
						<button type="submit" class="btn btn-primary btn-small js-ajax-submit" data-action="{:U('Weibo/AdminReportcate/indexbat','type=order')}">排序</button>
					</div>
				</form>
			</div>

		</div>
	</div>
</body>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/newthink.js"></script>

</html>